#ifndef XCONTEXT_H_
#define XCONTEXT_H_

#include "PanelSelect.h"
#include "KeySelector.h"
#include "FileLoad.h"

class XContext : public Action
{
public:
	XContext(){
		a = new ActionSelector;
		a->registerAction("F",new FileLoad());
	}
	virtual ~XContext(){}
	void execute(AttributeHolder *attribs){
		KeySelector::CURRENT_SELECTOR.set(attribs,a);
	}
private:
	ActionSelector *a;
};

#endif /*XCONTEXT_H_*/

